﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;


namespace KingRoad.EPM.SafetyManagementEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/3/13 11:45:20
    /// </summary> 
    [Serializable]
    [ModelMap("Scm_SecureCost", new string[] { "Sc_ID" })]
    public class ScmSecurecostInfo : BaseEntity
    {
        public ScmSecurecostInfo()
        {

        }
        
        
        private string _scId;
        /// <summary>
        /// 主键
        /// </summary>
        [ColumnMap("Sc_ID", System.Data.DbType.String)]
        public string Sc_ID
        {
            get {return _scId;}
            set
            {
                if (object.Equals(this._scId, value) != true)
                {
                    this._scId = value;
                    this.RaisePropertyChanged("Sc_ID");
                }
            }
        }
        
        
        private int _scUserid;
        /// <summary>
        /// 操作人ID
        /// </summary>
        [ColumnMap("Sc_UserID", System.Data.DbType.Int32)]
        public int Sc_UserID
        {
            get {return _scUserid;}
            set
            {
                if (object.Equals(this._scUserid, value) != true)
                {
                    this._scUserid = value;
                    this.RaisePropertyChanged("Sc_UserID");
                }
            }
        }
        
        
        private string _scUsername;
        /// <summary>
        /// 操作人名称
        /// </summary>
        [ColumnMap("Sc_UserName", System.Data.DbType.String)]
        public string Sc_UserName
        {
            get {return _scUsername;}
            set
            {
                if (object.Equals(this._scUsername, value) != true)
                {
                    this._scUsername = value;
                    this.RaisePropertyChanged("Sc_UserName");
                }
            }
        }
        
        
        private DateTime _scTime;
        /// <summary>
        /// 操作时间
        /// </summary>
        [ColumnMap("Sc_Time", System.Data.DbType.DateTime)]
        public DateTime Sc_Time
        {
            get {return _scTime;}
            set
            {
                if (object.Equals(this._scTime, value) != true)
                {
                    this._scTime = value;
                    this.RaisePropertyChanged("Sc_Time");
                }
            }
        }
        
        
        private string _scSection;
        /// <summary>
        /// 标段
        /// </summary>
        [ColumnMap("Sc_Section", System.Data.DbType.String)]
        public string Sc_Section
        {
            get {return _scSection;}
            set
            {
                if (object.Equals(this._scSection, value) != true)
                {
                    this._scSection = value;
                    this.RaisePropertyChanged("Sc_Section");
                }
            }
        }
        
        
        private int _scSectiontype;
        /// <summary>
        /// 标段类型
        /// </summary>
        [ColumnMap("Sc_SectionType", System.Data.DbType.Int32)]
        public int Sc_SectionType
        {
            get {return _scSectiontype;}
            set
            {
                if (object.Equals(this._scSectiontype, value) != true)
                {
                    this._scSectiontype = value;
                    this.RaisePropertyChanged("Sc_SectionType");
                }
            }
        }
        
        
        private decimal _scCost;
        /// <summary>
        /// 安全费用金额
        /// </summary>
        [ColumnMap("Sc_Cost", System.Data.DbType.Decimal)]
        public decimal Sc_Cost
        {
            get {return _scCost;}
            set
            {
                if (object.Equals(this._scCost, value) != true)
                {
                    this._scCost = value;
                    this.RaisePropertyChanged("Sc_Cost");
                }
            }
        }
        
        
    }
}



